package top.program.dao;


import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;
import top.program.entity.Student;

@Repository
public interface StudentMapper {
    //修改了代码(git)
    int deleteByPrimaryKey(Integer sid);

    int insert(Student record);

    int insertSelective(Student record);

    Student selectByPrimaryKey(Integer sid);

    int updateByPrimaryKeySelective(Student record);

    int updateByPrimaryKey(Student record);

    Student selectByPrimaryKeyWithTeacher(Integer sid);
}